package org.KeyCrafter.obj.type;

public class DefaultStringType implements StringType{
    private String data;

    @Override
    public byte encoding() {
        return KeyCrafter_ENCODING_JAVA_STRING;
    }
    @Override
    public String content() {
        return data;
    }
    public DefaultStringType(String data) {
        this.data = data;
    }
    @Override
    public String getString() {
        return data;
    }
}
